:host ::ng-deep .avatar-uploader > .ant-upload {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0;
  overflow: hidden;
}

.img-wrap {
  position: relative;
  width: 50px;
  height: 50px;

  .delete-span {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
    width: 16px;
    height: 16px;
    font-size: 12px;
    color: #ffffff;
    line-height: 1;
    text-align: center;
    background-color: #ff4d4f;
    border-radius: 100%;

    &:hover {
      cursor: default;
    }
  }
}

.configure-item {
  .configure-title {
    font-size: 15px;
    color: #333;
    font-weight: 700;
    padding-bottom: 20px;
  }

  .configure-control {
    box-sizing: border-box;
    padding-left: 20px;

    nz-form-label {
      box-sizing: border-box;
      text-align: right;
      padding-right: 15px;
    }

    .table-tip {
      font-size: 13px;
      color: #c0c4cc;
      font-weight: 400;

      .sum-txt {
        color: #ff4d4f;
        padding-left: 10px;
      }
    }

    .table-wrap {
      padding-top: 10px;

      .drop-hover {
        &:hover {
          cursor: move;
        }
      }
    }

    .square-wrap {
      box-sizing: border-box;
      position: relative;
      width: 312px;
      height: 312px;

      .start-p {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 100px;
        background-color: #D7D7D7;
        padding: 0 36px;
        position: absolute;
        top: 106px;
        left: 106px;
        z-index: 2;
      }

      .square-ul {
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        position: relative;
        width: 100%;
        height: 100%;

        li {
          box-sizing: border-box;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          width: 100px;
          height: 100px;
          background-color: #D7D7D7;
          position: absolute;

          // &::before {
          //   content: '1';
          //   position: absolute;
          //   top: 0;
          //   left: 0;
          //   font-size: 32px;
          //   color: #D7D7D7;
          //   text-shadow: -1px -1px 1px #000, 1px 1px 1px #fff;
          // }

          span {
            font-size: 12px;
            padding-top: 8px;
          }

          &:nth-child(1) {
            top: 0;
            left: 0;
          }
          &:nth-child(2) {
            top: 0;
            left: 106px;
          }
          &:nth-child(3) {
            top: 0;
            right: 0;
          }
          &:nth-child(4) {
            top: 106px;
            left: 0;
          }
          &:nth-child(5) {
            top: 106px;
            right: 0;
          }
          &:nth-child(6) {
            bottom: 0;
            left: 0;
          }
          &:nth-child(7) {
            bottom: 0;
            left: 106px;
          }
          &:nth-child(8) {
            bottom: 0;
            right: 0;
          }
        }
      }
    }
  }
}

.operation-wrap {
  padding: 30px 0 0 20px;
}

.foot-tip {
  box-sizing: border-box;
  font-size: 13px;
  color: #999999;
  line-height: 20px;
  padding: 30px 0 0 20px;

  dt {
    padding-bottom: 15px;
  }
}

/********************************** 拖拽样式START **********************************/
.drop-btn {
  font-size: 12px;
  &:hover {
      cursor: move;
  }
}
.cdk-drag-preview {
  box-sizing: border-box;
  border-radius: 4px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
              0 8px 10px 1px rgba(0, 0, 0, 0.14),
              0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
::ng-deep .cdk-drag-preview {
  display: table;
  height: 100%;
  vertical-align: middle;
  text-align: center;

  .ant-upload {
    width: 45px;
    height: 45px;
    margin: 0;
  }
}
.cdk-drop-list-dragging .cdk-drag {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
.cdk-drag-animating {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
.example-box:last-child {
  border: none;
}
.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
  transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
}
/********************************** 拖拽样式END **********************************/
